"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
    return new (P || (P = Promise))(function (resolve, reject) {
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
    });
};
var __generator = (this && this.__generator) || function (thisArg, body) {
    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
    return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
    function verb(n) { return function (v) { return step([n, v]); }; }
    function step(op) {
        if (f) throw new TypeError("Generator is already executing.");
        while (g && (g = 0, op[0] && (_ = 0)), _) try {
            if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
            if (y = 0, t) op = [op[0] & 2, t.value];
            switch (op[0]) {
                case 0: case 1: t = op; break;
                case 4: _.label++; return { value: op[1], done: false };
                case 5: _.label++; y = op[1]; op = [0]; continue;
                case 7: op = _.ops.pop(); _.trys.pop(); continue;
                default:
                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
                    if (t[2]) _.ops.pop();
                    _.trys.pop(); continue;
            }
            op = body.call(thisArg, _);
        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
    }
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
        if (ar || !(i in from)) {
            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
            ar[i] = from[i];
        }
    }
    return to.concat(ar || Array.prototype.slice.call(from));
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var vue_1 = require("vue");
var pictureController_ts_1 = require("@/api/pictureController.ts");
var dayjs_1 = __importDefault(require("dayjs"));
var props = defineProps();
// 搜索条件
var searchParams = (0, vue_1.reactive)({});
// 获取数据
var doSearch = function () {
    var _a;
    (_a = props.onSearch) === null || _a === void 0 ? void 0 : _a.call(props, searchParams);
};
// 定义日期变量
var dateRange = (0, vue_1.ref)([]);
/**
 * 日期范围更改时触发
 * @param dates
 * @param dateStrings
 */
var onRangeChange = function (dates, dateStrings) {
    if (dates.length < 2) {
        searchParams.startEditTime = undefined;
        searchParams.endEditTime = undefined;
    }
    else {
        searchParams.startEditTime = dates[0].toDate();
        searchParams.endEditTime = dates[1].toDate();
    }
};
var rangePresets = (0, vue_1.ref)([
    { label: '过去 7 天', value: [(0, dayjs_1.default)().add(-7, 'd'), (0, dayjs_1.default)()] },
    { label: '过去 14 天', value: [(0, dayjs_1.default)().add(-14, 'd'), (0, dayjs_1.default)()] },
    { label: '过去 30 天', value: [(0, dayjs_1.default)().add(-30, 'd'), (0, dayjs_1.default)()] },
    { label: '过去 90 天', value: [(0, dayjs_1.default)().add(-90, 'd'), (0, dayjs_1.default)()] },
]);
var categoryOptions = (0, vue_1.ref)([]);
var tagOptions = (0, vue_1.ref)([]);
// 获取标签和分类选项
var getTagCategoryOptions = function () { return __awaiter(void 0, void 0, void 0, function () {
    var res;
    var _a, _b;
    return __generator(this, function (_c) {
        switch (_c.label) {
            case 0: return [4 /*yield*/, (0, pictureController_ts_1.listPictureTagCategoryUsingGet)()];
            case 1:
                res = _c.sent();
                if (res.data.code === 0 && res.data.data) {
                    // 转换成下拉选项组件接受的格式
                    tagOptions.value = ((_a = res.data.data.tagList) !== null && _a !== void 0 ? _a : []).map(function (data) {
                        return {
                            value: data,
                            label: data,
                        };
                    });
                    categoryOptions.value = ((_b = res.data.data.categoryList) !== null && _b !== void 0 ? _b : []).map(function (data) {
                        return {
                            value: data,
                            label: data,
                        };
                    });
                }
                else {
                    message.error('加载选项失败，' + res.data.message);
                }
                return [2 /*return*/];
        }
    });
}); };
(0, vue_1.onMounted)(function () {
    getTagCategoryOptions();
});
// 清理
var doClear = function () {
    var _a;
    // 取消所有对象的值
    Object.keys(searchParams).forEach(function (key) {
        searchParams[key] = undefined;
    });
    dateRange.value = [];
    (_a = props.onSearch) === null || _a === void 0 ? void 0 : _a.call(props, searchParams);
}; /* PartiallyEnd: #3632/scriptSetup.vue */
function __VLS_template() {
    var __VLS_ctx = {};
    var __VLS_components;
    var __VLS_directives;
    // CSS variable injection 
    // CSS variable injection end 
    __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({
        id: ("pictureSearchForm"),
    });
    __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)(__assign({ class: ("picture-search-form") }));
    var __VLS_0 = {}.AForm;
    /** @type { [typeof __VLS_components.AForm, typeof __VLS_components.aForm, typeof __VLS_components.AForm, typeof __VLS_components.aForm, ] } */ ;
    // @ts-ignore
    var __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0(__assign({ 'onFinish': {} }, { layout: ("inline"), model: ((__VLS_ctx.searchParams)) })));
    var __VLS_2 = __VLS_1.apply(void 0, __spreadArray([__assign({ 'onFinish': {} }, { layout: ("inline"), model: ((__VLS_ctx.searchParams)) })], __VLS_functionalComponentArgsRest(__VLS_1), false));
    var __VLS_6;
    var __VLS_7 = {
        onFinish: (__VLS_ctx.doSearch)
    };
    var __VLS_3;
    var __VLS_4;
    var __VLS_8 = {}.AFormItem;
    /** @type { [typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, ] } */ ;
    // @ts-ignore
    var __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8({
        label: ("关键词"),
        name: ("searchText"),
    }));
    var __VLS_10 = __VLS_9.apply(void 0, __spreadArray([{
            label: ("关键词"),
            name: ("searchText"),
        }], __VLS_functionalComponentArgsRest(__VLS_9), false));
    var __VLS_14 = {}.AInput;
    /** @type { [typeof __VLS_components.AInput, typeof __VLS_components.aInput, ] } */ ;
    // @ts-ignore
    var __VLS_15 = __VLS_asFunctionalComponent(__VLS_14, new __VLS_14({
        value: ((__VLS_ctx.searchParams.searchText)),
        placeholder: ("从名称和简介搜索"),
        allowClear: (true),
    }));
    var __VLS_16 = __VLS_15.apply(void 0, __spreadArray([{
            value: ((__VLS_ctx.searchParams.searchText)),
            placeholder: ("从名称和简介搜索"),
            allowClear: (true),
        }], __VLS_functionalComponentArgsRest(__VLS_15), false));
    __VLS_13.slots.default;
    var __VLS_13;
    var __VLS_20 = {}.AFormItem;
    /** @type { [typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, ] } */ ;
    // @ts-ignore
    var __VLS_21 = __VLS_asFunctionalComponent(__VLS_20, new __VLS_20({
        label: ("分类"),
        name: ("category"),
    }));
    var __VLS_22 = __VLS_21.apply(void 0, __spreadArray([{
            label: ("分类"),
            name: ("category"),
        }], __VLS_functionalComponentArgsRest(__VLS_21), false));
    var __VLS_26 = {}.AAutoComplete;
    /** @type { [typeof __VLS_components.AAutoComplete, typeof __VLS_components.aAutoComplete, ] } */ ;
    // @ts-ignore
    var __VLS_27 = __VLS_asFunctionalComponent(__VLS_26, new __VLS_26(__assign(__assign({ value: ((__VLS_ctx.searchParams.category)) }, { style: ({}) }), { options: ((__VLS_ctx.categoryOptions)), placeholder: ("请输入分类"), allowClear: (true) })));
    var __VLS_28 = __VLS_27.apply(void 0, __spreadArray([__assign(__assign({ value: ((__VLS_ctx.searchParams.category)) }, { style: ({}) }), { options: ((__VLS_ctx.categoryOptions)), placeholder: ("请输入分类"), allowClear: (true) })], __VLS_functionalComponentArgsRest(__VLS_27), false));
    __VLS_25.slots.default;
    var __VLS_25;
    var __VLS_32 = {}.AFormItem;
    /** @type { [typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, ] } */ ;
    // @ts-ignore
    var __VLS_33 = __VLS_asFunctionalComponent(__VLS_32, new __VLS_32({
        label: ("标签"),
        name: ("tags"),
    }));
    var __VLS_34 = __VLS_33.apply(void 0, __spreadArray([{
            label: ("标签"),
            name: ("tags"),
        }], __VLS_functionalComponentArgsRest(__VLS_33), false));
    var __VLS_38 = {}.ASelect;
    /** @type { [typeof __VLS_components.ASelect, typeof __VLS_components.aSelect, ] } */ ;
    // @ts-ignore
    var __VLS_39 = __VLS_asFunctionalComponent(__VLS_38, new __VLS_38(__assign(__assign({ value: ((__VLS_ctx.searchParams.tags)) }, { style: ({}) }), { options: ((__VLS_ctx.tagOptions)), mode: ("tags"), placeholder: ("请输入标签"), allowClear: (true) })));
    var __VLS_40 = __VLS_39.apply(void 0, __spreadArray([__assign(__assign({ value: ((__VLS_ctx.searchParams.tags)) }, { style: ({}) }), { options: ((__VLS_ctx.tagOptions)), mode: ("tags"), placeholder: ("请输入标签"), allowClear: (true) })], __VLS_functionalComponentArgsRest(__VLS_39), false));
    __VLS_37.slots.default;
    var __VLS_37;
    var __VLS_44 = {}.AFormItem;
    /** @type { [typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, ] } */ ;
    // @ts-ignore
    var __VLS_45 = __VLS_asFunctionalComponent(__VLS_44, new __VLS_44({
        label: ("日期"),
        name: (""),
    }));
    var __VLS_46 = __VLS_45.apply(void 0, __spreadArray([{
            label: ("日期"),
            name: (""),
        }], __VLS_functionalComponentArgsRest(__VLS_45), false));
    var __VLS_50 = {}.ARangePicker;
    /** @type { [typeof __VLS_components.ARangePicker, typeof __VLS_components.aRangePicker, ] } */ ;
    // @ts-ignore
    var __VLS_51 = __VLS_asFunctionalComponent(__VLS_50, new __VLS_50(__assign(__assign({ 'onChange': {} }, { style: ({}) }), { showTime: (true), value: ((__VLS_ctx.dateRange)), placeholder: ((['编辑开始日期', '编辑结束时间'])), format: ("YYYY/MM/DD HH:mm:ss"), presets: ((__VLS_ctx.rangePresets)) })));
    var __VLS_52 = __VLS_51.apply(void 0, __spreadArray([__assign(__assign({ 'onChange': {} }, { style: ({}) }), { showTime: (true), value: ((__VLS_ctx.dateRange)), placeholder: ((['编辑开始日期', '编辑结束时间'])), format: ("YYYY/MM/DD HH:mm:ss"), presets: ((__VLS_ctx.rangePresets)) })], __VLS_functionalComponentArgsRest(__VLS_51), false));
    var __VLS_56;
    var __VLS_57 = {
        onChange: (__VLS_ctx.onRangeChange)
    };
    var __VLS_53;
    var __VLS_54;
    var __VLS_55;
    __VLS_49.slots.default;
    var __VLS_49;
    var __VLS_58 = {}.AFormItem;
    /** @type { [typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, ] } */ ;
    // @ts-ignore
    var __VLS_59 = __VLS_asFunctionalComponent(__VLS_58, new __VLS_58({
        label: ("名称"),
        name: ("name"),
    }));
    var __VLS_60 = __VLS_59.apply(void 0, __spreadArray([{
            label: ("名称"),
            name: ("name"),
        }], __VLS_functionalComponentArgsRest(__VLS_59), false));
    var __VLS_64 = {}.AInput;
    /** @type { [typeof __VLS_components.AInput, typeof __VLS_components.aInput, ] } */ ;
    // @ts-ignore
    var __VLS_65 = __VLS_asFunctionalComponent(__VLS_64, new __VLS_64({
        value: ((__VLS_ctx.searchParams.name)),
        placeholder: ("请输入名称"),
        allowClear: (true),
    }));
    var __VLS_66 = __VLS_65.apply(void 0, __spreadArray([{
            value: ((__VLS_ctx.searchParams.name)),
            placeholder: ("请输入名称"),
            allowClear: (true),
        }], __VLS_functionalComponentArgsRest(__VLS_65), false));
    __VLS_63.slots.default;
    var __VLS_63;
    var __VLS_70 = {}.AFormItem;
    /** @type { [typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, ] } */ ;
    // @ts-ignore
    var __VLS_71 = __VLS_asFunctionalComponent(__VLS_70, new __VLS_70({
        label: ("简介"),
        name: ("introduction"),
    }));
    var __VLS_72 = __VLS_71.apply(void 0, __spreadArray([{
            label: ("简介"),
            name: ("introduction"),
        }], __VLS_functionalComponentArgsRest(__VLS_71), false));
    var __VLS_76 = {}.AInput;
    /** @type { [typeof __VLS_components.AInput, typeof __VLS_components.aInput, ] } */ ;
    // @ts-ignore
    var __VLS_77 = __VLS_asFunctionalComponent(__VLS_76, new __VLS_76({
        value: ((__VLS_ctx.searchParams.introduction)),
        placeholder: ("请输入简介"),
        allowClear: (true),
    }));
    var __VLS_78 = __VLS_77.apply(void 0, __spreadArray([{
            value: ((__VLS_ctx.searchParams.introduction)),
            placeholder: ("请输入简介"),
            allowClear: (true),
        }], __VLS_functionalComponentArgsRest(__VLS_77), false));
    __VLS_75.slots.default;
    var __VLS_75;
    var __VLS_82 = {}.AFormItem;
    /** @type { [typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, ] } */ ;
    // @ts-ignore
    var __VLS_83 = __VLS_asFunctionalComponent(__VLS_82, new __VLS_82({
        label: ("宽度"),
        name: ("picWidth"),
    }));
    var __VLS_84 = __VLS_83.apply(void 0, __spreadArray([{
            label: ("宽度"),
            name: ("picWidth"),
        }], __VLS_functionalComponentArgsRest(__VLS_83), false));
    var __VLS_88 = {}.AInputNumber;
    /** @type { [typeof __VLS_components.AInputNumber, typeof __VLS_components.aInputNumber, ] } */ ;
    // @ts-ignore
    var __VLS_89 = __VLS_asFunctionalComponent(__VLS_88, new __VLS_88({
        value: ((__VLS_ctx.searchParams.picWidth)),
    }));
    var __VLS_90 = __VLS_89.apply(void 0, __spreadArray([{
            value: ((__VLS_ctx.searchParams.picWidth)),
        }], __VLS_functionalComponentArgsRest(__VLS_89), false));
    __VLS_87.slots.default;
    var __VLS_87;
    var __VLS_94 = {}.AFormItem;
    /** @type { [typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, ] } */ ;
    // @ts-ignore
    var __VLS_95 = __VLS_asFunctionalComponent(__VLS_94, new __VLS_94({
        label: ("高度"),
        name: ("picHeight"),
    }));
    var __VLS_96 = __VLS_95.apply(void 0, __spreadArray([{
            label: ("高度"),
            name: ("picHeight"),
        }], __VLS_functionalComponentArgsRest(__VLS_95), false));
    var __VLS_100 = {}.AInputNumber;
    /** @type { [typeof __VLS_components.AInputNumber, typeof __VLS_components.aInputNumber, ] } */ ;
    // @ts-ignore
    var __VLS_101 = __VLS_asFunctionalComponent(__VLS_100, new __VLS_100({
        value: ((__VLS_ctx.searchParams.picHeight)),
    }));
    var __VLS_102 = __VLS_101.apply(void 0, __spreadArray([{
            value: ((__VLS_ctx.searchParams.picHeight)),
        }], __VLS_functionalComponentArgsRest(__VLS_101), false));
    __VLS_99.slots.default;
    var __VLS_99;
    var __VLS_106 = {}.AFormItem;
    /** @type { [typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, ] } */ ;
    // @ts-ignore
    var __VLS_107 = __VLS_asFunctionalComponent(__VLS_106, new __VLS_106({
        label: ("格式"),
        name: ("picFormat"),
    }));
    var __VLS_108 = __VLS_107.apply(void 0, __spreadArray([{
            label: ("格式"),
            name: ("picFormat"),
        }], __VLS_functionalComponentArgsRest(__VLS_107), false));
    var __VLS_112 = {}.AInput;
    /** @type { [typeof __VLS_components.AInput, typeof __VLS_components.aInput, ] } */ ;
    // @ts-ignore
    var __VLS_113 = __VLS_asFunctionalComponent(__VLS_112, new __VLS_112({
        value: ((__VLS_ctx.searchParams.picFormat)),
        placeholder: ("请输入格式"),
        allowClear: (true),
    }));
    var __VLS_114 = __VLS_113.apply(void 0, __spreadArray([{
            value: ((__VLS_ctx.searchParams.picFormat)),
            placeholder: ("请输入格式"),
            allowClear: (true),
        }], __VLS_functionalComponentArgsRest(__VLS_113), false));
    __VLS_111.slots.default;
    var __VLS_111;
    var __VLS_118 = {}.AFormItem;
    /** @type { [typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, typeof __VLS_components.AFormItem, typeof __VLS_components.aFormItem, ] } */ ;
    // @ts-ignore
    var __VLS_119 = __VLS_asFunctionalComponent(__VLS_118, new __VLS_118({}));
    var __VLS_120 = __VLS_119.apply(void 0, __spreadArray([{}], __VLS_functionalComponentArgsRest(__VLS_119), false));
    var __VLS_124 = {}.ASpace;
    /** @type { [typeof __VLS_components.ASpace, typeof __VLS_components.aSpace, typeof __VLS_components.ASpace, typeof __VLS_components.aSpace, ] } */ ;
    // @ts-ignore
    var __VLS_125 = __VLS_asFunctionalComponent(__VLS_124, new __VLS_124({}));
    var __VLS_126 = __VLS_125.apply(void 0, __spreadArray([{}], __VLS_functionalComponentArgsRest(__VLS_125), false));
    var __VLS_130 = {}.AButton;
    /** @type { [typeof __VLS_components.AButton, typeof __VLS_components.aButton, typeof __VLS_components.AButton, typeof __VLS_components.aButton, ] } */ ;
    // @ts-ignore
    var __VLS_131 = __VLS_asFunctionalComponent(__VLS_130, new __VLS_130(__assign({ type: ("primary"), htmlType: ("submit") }, { style: ({}) })));
    var __VLS_132 = __VLS_131.apply(void 0, __spreadArray([__assign({ type: ("primary"), htmlType: ("submit") }, { style: ({}) })], __VLS_functionalComponentArgsRest(__VLS_131), false));
    __VLS_135.slots.default;
    var __VLS_135;
    var __VLS_136 = {}.AButton;
    /** @type { [typeof __VLS_components.AButton, typeof __VLS_components.aButton, typeof __VLS_components.AButton, typeof __VLS_components.aButton, ] } */ ;
    // @ts-ignore
    var __VLS_137 = __VLS_asFunctionalComponent(__VLS_136, new __VLS_136(__assign({ 'onClick': {} }, { htmlType: ("reset") })));
    var __VLS_138 = __VLS_137.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { htmlType: ("reset") })], __VLS_functionalComponentArgsRest(__VLS_137), false));
    var __VLS_142;
    var __VLS_143 = {
        onClick: (__VLS_ctx.doClear)
    };
    var __VLS_139;
    var __VLS_140;
    __VLS_141.slots.default;
    var __VLS_141;
    __VLS_129.slots.default;
    var __VLS_129;
    __VLS_123.slots.default;
    var __VLS_123;
    __VLS_5.slots.default;
    var __VLS_5;
    ['picture-search-form',];
    var __VLS_slots;
    var $slots;
    var __VLS_inheritedAttrs;
    var $attrs;
    var __VLS_refs = {};
    var $refs;
    var $el;
    return {
        attrs: {},
        slots: __VLS_slots,
        refs: $refs,
        rootEl: $el,
    };
}
;
var __VLS_self = (await Promise.resolve().then(function () { return __importStar(require('vue')); })).defineComponent({
    setup: function () {
        return {
            searchParams: searchParams,
            doSearch: doSearch,
            dateRange: dateRange,
            onRangeChange: onRangeChange,
            rangePresets: rangePresets,
            categoryOptions: categoryOptions,
            tagOptions: tagOptions,
            doClear: doClear,
        };
    },
    __typeProps: {},
});
exports.default = (await Promise.resolve().then(function () { return __importStar(require('vue')); })).defineComponent({
    setup: function () {
        return {};
    },
    __typeProps: {},
    __typeEl: {},
});
; /* PartiallyEnd: #4569/main.vue */
